import { http } from "@/utils/http"
import type { video, videoAll } from "@/types/video"
export const postCoverUrlAPI = () => {
  return http<video[]>({
    method: 'POST',
    url: '/video/coverlist',
  })
}
//获取视频详细数据
export const GetVideoAllAPI = (id: number) => {
  return http<videoAll>({
    method: 'GET',
    url: '/video/video',
    data: {
      id
    }
  })
}
